package com.andy.blog.dal.service;

import com.andy.blog.dal.domain.AlbumPhotoDO;
import com.andy.blog.dal.vo.AlbumPhotoVO;

import java.util.List;

/**
 * Created by andy on 2024/4/2 11:30
 **/
public interface AlbumPhotoDalService {
    /**
     * 查询列表数据
     */
    List<AlbumPhotoDO> selectList(AlbumPhotoVO albumPhotoVO);

    /**
     * 根据id查询
     */
    AlbumPhotoDO selectById(Long id);

    /**
     * 新增
     */
    void add(AlbumPhotoVO albumPhotoVO);

    void updateById(AlbumPhotoVO albumPhotoVO);

    /**
     * 删除
     */
    void deleteById(Long id);

    /**
     * 校验相册是否存在
     */
    boolean checkExists(String photoType);
}
